package com.sy.rabbitmq;

import org.springframework.beans.factory.annotation.Value;

public class TestProperties {
    @Value("${rabbiitmq.ip}")
    private static String ip ="120.79.205.6";
    @Value("${rabbiitmq.port}")
    private static int port = 5672;
    @Value("${rabbiitmq.username}")
    private static String username = "admin";
    @Value("${rabbiitmq.password}")
    private static String password = "sy990811";

    public static String getUsername() {
        return username;
    }

    public static void setUsername(String username) {
        TestProperties.username = username;
    }

    public static String getPassword() {
        return password;
    }

    public static void setPassword(String password) {
        TestProperties.password = password;
    }

    public static String getIp() {
        return ip;
    }

    public static void setIp(String ip) {
        TestProperties.ip = ip;
    }

    public static int getPort() {
        return port;
    }

    public static void setPort(int port) {
        TestProperties.port = port;
    }
}
